<?php
/*
 * Created by JetBrains PhpStorm.
 * User: SDK
 * Date: 20.11.11
 * Time: 17:04
 * To change this template use File | Settings | File Templates.
 */
 require_once('../../class/db/DBClass.php');
$email = $_POST['email'];
$day =$_POST['time'];
$theme = $_POST['theme'];
$question = $_POST['question'];
$dbclass = new DBClass();
//Вроде должен взять все из конструктора.
$dbclass->addquestion($theme, $question, $day);//Сюда кормим распарсивание файла


